'''
    暂时用来记录每日新增的确诊者的邻居编号
    以及每一个邻居的状态，暂时以字典形式存放
'''

# 将其设计成一个二维数组，第N行代表第N天的新增确诊者的邻居序号，例如第一行代表第一天的新增确诊者的邻居序号
neighbor_ = [[]]
neighbor_state = {}
neighbor_isolation_state = {}
'''
    打印出每个确诊者的邻居编号
'''
def output_neighbor():
    for i in range(len(neighbor_)):
        if len(neighbor_[i]) != 0:
            print(neighbor_[i])

'''
    字典存放
    打印出每个确诊者的邻居的状态
'''
def print_neighbor_state(person):
    for n in neighbor_:
        for i in range(len(n)):
            neighbor_state[n[i]] = person[n[i]]
    print(neighbor_state)
'''
    字典存放
    打印出每个确诊者的邻居的隔离状态
'''
def print_neighbor_isolation_state(isolation_state):
    for n in neighbor_:
        for i in range(len(n)):
            neighbor_isolation_state[n[i]] = isolation_state[n[i]]
    print(neighbor_isolation_state)